'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	let {id,data} = event
	let res = await db.collection('uni-id-users').doc(id).update({
		select_industry: data
	})
	
	//返回数据给客户端
	return {
		code: 200,
		 data: res
	}
};
